//
//  YewenAdapter.h
//  jobClient
//
//  Created by 小细菌 on 2020/9/29.
//  Copyright © 2020 YL1001. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

static id homePageDelegete;

@interface YewenAdapter : NSObject
//获取打卡规则config
+ (void)getStudyConfig:(NSString*)project_id type:(NSString*)type complete:(void(^)(BOOL ok , NSString* errorMsg))complete;
//去业问课程列表页 (弃用)
+ (void)gotoYewenCoursList:(NSString*)group_id type:(NSString*)type project_id:(NSString*)project_id;

//深圳适岗培训 播放
+ (void)gotoShenZhenPlay:(NSString*)group_id type:(NSString*)type project_id:(NSString*)project_id;
+ (void)gotoShenZhenPlay:(NSString*)group_id  project_id:(NSString*)project_id article_id:(NSString*)article_id;

//业问大学 录播
+ (void)gotoYeWenPlay:(NSString*)course_id task_id:(NSString*)task_id project_id:(NSString*)project_id fromKnowledge:(BOOL)fromKnowledge;
+ (void)gotoYeWenPlay:(NSString*)course_id task_id:(NSString*)task_id project_id:(NSString*)project_id article_id:(NSString*)article_id;

//广州
+ (void)gotoGuangZhouPlay:(NSString*)course_id task_id:(NSString*)task_id project_id:(NSString*)project_id article_id:(NSString*)article_id;

//业问大学 直播
+ (void)gotoYewenLivingWithId:(NSString*)livingId groupId:(NSString*)groupId yewenLive:(BOOL)isYewenLive;

// 河南培训
+ (void)gotoHeNanWithCourseId:(NSString*)courseId name:(NSString *)courseName projectId:(NSString*)pid worksId:(NSString*)worksId;
@end

NS_ASSUME_NONNULL_END
